package com.lixin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lixin.entity.Posts;
import com.lixin.model.request.PostListRequest;
import com.lixin.model.response.Response;

import java.util.List;

/**
 * <p>
 * 用于存储用户的动态内容 服务类
 * </p>
 *
 * @author lixin
 * @since 2023-07-28
 */
public interface IPostsService extends IService<Posts> {

    Posts addOrUpdate(Posts posts);

    List<Posts> postList(Integer userId, Integer curPostId);
}
